Collect totals in placeOrder when no paymentMethod provided#18768
Collect totals in placeOrder when no paymentMethod provided#18768magento-engcom-team merged 2 commits intomagento:2.3-developfrom
Conversation
Quote item values such as `base_original_price` are only populated during total collection. Currently in `QuoteManagement::placeOrder` if `$paymentMethod` is passed `Payment::importData` collects the quote totals to populate these values. Payment methods like Auth.net DirectPost do pass a value for `$paymentMethod` during order placement which causes order items to be converted with zero values for the `original_price` attributes. Fixes magento#16050
|
Hi @pmclain. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
|
Hi @slavvka, thank you for the review. |
|
@magento-engcom-team give me test instance |
|
Hi @TomashKhamlai. Thank you for your request. I'm working on Magento instance for you |
|
Hi @TomashKhamlai, here is your new Magento instance. |
|
@magento-engcom-team indexer:reindex |
|
@magento-engcom-team give me 2.3-develop instance |
|
Hi @TomashKhamlai. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
|
Hi @TomashKhamlai, here is your Magento instance. |
|
@magento-engcom-team give me 2.2-develop instance |
|
Hi @TomashKhamlai. Thank you for your request. I'm working on Magento 2.2-develop instance for you |
|
Hi @TomashKhamlai, here is your Magento instance. |
|
@magento-engcom-team give me test instance |
|
Hi @TomashKhamlai. Thank you for your request. I'm working on Magento instance for you |
|
Hi @TomashKhamlai, here is your new Magento instance. |
|
@magento-engcom-team give me test instance |
|
Hi @TomashKhamlai. Thank you for your request. I'm working on Magento instance for you |
|
Hi @TomashKhamlai, here is your new Magento instance. |
|
Hi @pmclain. Thank you for your contribution. |
Description (*)
Quote item values such as
base_original_priceare only populated during totalcollection. Currently in
QuoteManagement::placeOrderif$paymentMethodispassed
Payment::importDatacollects the quote totals to populate these values.Payment methods like Auth.net DirectPost do pass a value for
$paymentMethodduring order placement which causes order items to be converted with zero
values for the
original_priceattributes.Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)